package com.woniuxy.springboot.javaconfig;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@SpringBootApplication
//@ComponentScan(basePackages = {"config"})
@Import({config.UserBeanConfig.class})
public class Springboot02JavaconfigApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springboot02JavaconfigApplication.class, args);
    }

}
